<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>
    <%= content_for?(:title) ? yield(:title) : "UdeskAPIDemo" %>
  </title>
  <meta name="description" content="<%= content_for?(:description) ? yield(:description) : "UdeskAPIDemo" %>">
  <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>

<body>
  <div id="wrapper" class="">
    <%= render 'layouts/navbar' %>
  </div>

  <div id="page-wrapper" class="container main">
    <div><%= render 'layouts/messages' %></div>
    <div class="row mt-1">
      <div class="panel panel-default">
        <div class="panel-heading">
          <%= content_for?(:panel_heading) ? yield(:panel_heading) : (@panel_heading || "Dashboard") %>
        </div>
        <div class="panel-body">
          <%= yield %>
        </div>
      </div>
    </div>
  </div>
</body>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= content_for?(:extra_scripts) ? yield(:extra_scripts) : nil %>
</html>
